package com.dotflat.check.repository;

import com.dotflat.check.domain.RelId;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;

import java.util.List;


@Repository
public interface RelIdRepository extends JpaRepository<RelId, String>  {

    List<RelId> findByUserIdIn(List<String> userIds);

    List<RelId> findByIdIn(List<Integer> ids);

    RelId findById(Integer id);

}
